﻿#region Usings

using FluentValidation;
using Yandex.Market.Api.Model;

#endregion

namespace Yandex.Market.Api.Validation
{
    internal class OrderingValidator : AbstractValidator<Ordering>
    {
        public OrderingValidator()
        {
            RuleFor(ordering => ordering.Value).NotEmpty().WithMessage("Значение обязательно");
        }
    }
}